<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Invoice Statement</title>
<style>
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
}

.gray {
    color: #707070;
}

.noBorder {
    border: none !important;
}

.noPadding {
    padding: 0 !important;
}

.alignTop {
    vertical-align: top;
}

.header {
    height: 80px;
    padding: 0 40px;
    border-bottom: 1px solid #707070;
}

.logo .setplexlogo {
    background-image: url();
    background-repeat: no-repeat;
    width: 170px;
    height: 35px;
    -webkit-print-color-adjust: exact;
}

.contactsHeader {
    float: right;
    font-size: 14px;
    margin: 20px 0;
}

.contactsHeader p {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
    margin: 5px 0;
}

.main {
    padding: 20px;
}

.tableInvoices:before {
    content: 'PAID';
    position: absolute;
    font-size: 110px;
    letter-spacing: 15px;
    font-weight: bold;
    color: #daf1ce;
    top: 150px;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%) rotate(-45deg);
}

.invoiceData {
    height: 140px;
}

.invoiceData table tr td {
    padding-right: 20px;
    font-size: 14px;
}

.invoiceData tr td:first-child {
    color: #707070;
}

.innerDiv {
    float: right;
}

.companyData {
    height: 200px;
}

.companyData h4 {
    margin-bottom: 5px;
}

.companyData p {
    font-size: 14px;
    margin-top: 0;
}

.companyData p:nth-child(4) {
    margin: 0;
}

.tableInvoices {
    position: relative;
    height: 1px;
    width: 100%;
    border-collapse: collapse;
}

.tableInvoices td {
    padding: 20px 10px;
    border: 1px solid #707070;
    min-width: 30px;
}

.tableInvoices th {
    padding: 10px;
    border: 1px solid #707070;
    background-color: #e4f9ed;
    min-width: 30px;
}

.tableInvoices tr:first-child th {
    height: 56px;
}

/*remove border from first td from pre-last tr*/
.tableInvoices tr:nth-last-child(2) td:first-child {
    vertical-align: top;
}

.tableInvoices tr:nth-last-child(2) td:first-child p {
    margin: 0;
}

.tableInvoices tr:nth-last-child(2) h4 {
    margin: 0 0 10px;
}

.tableInvoices tr:nth-last-child(2) p {
    margin: 5px 0;
}

.dashed p {
    padding: 15px 10px;
    margin: 0 !important;
    border-bottom: 1px dashed #707070;
}

.dashed p:last-child {
    border-bottom: none;
}

.innerTable {
    height: 100%;
    width: 100%;
    border-collapse: collapse;
}

.innerTable tr:first-child th {
    border-top: 0;
}

.innerTable tr:last-child td {
    border-bottom: 0;
}

.innerTable tr th:first-child, .innerTable tr td:first-child {
    border-left: 0;
}

.innerTable tr th:last-child, .innerTable tr td:last-child {
    border-right: 0;
}

.innerTable tr:first-child td {
    border-top: 0;
}

.bold {
    font-weight: bold;
}

.haveAnyQuestions {
    font-size: 12px;
}

.footer {
    width: 100%;
    height: 141px;
    padding: 0 0 0 40px;
    box-sizing: border-box;
    border-top: 1px solid #707070;
}

.contactsWrap {
    float: right;
}

.contactsWrap div {
    float: left;
    margin: 30px 10px;
}

.contactsWrap div h4, .contactsWrap div p {
    margin: 5px 0;
}

.contactsWrap div p {
    font-size: 13px;
    letter-spacing: 0.5px;
    line-height: 16px;
}

.header:before, .footer:before {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: "";
}

.verticAlign {
    display: inline-block;
    vertical-align: middle;
}

.gorizontAlign {
    text-align: center;
}

.lowercase {
    text-transform: lowercase;
}

@media print {
    @page {
        size: A4;
    }
    body {
        font-family: Arial, Helvetica, sans-serif;
    }
    .main {
        -webkit-print-color-adjust: exact;
    }
    .gray {
        color: #707070;
        -webkit-print-color-adjust: exact;
    }
    .invoiceData tr td:first-child {
        color: #707070;
        -webkit-print-color-adjust: exact;
    }

    .tableInvoices th {
        background-color: #e4f9ed;
        -webkit-print-color-adjust: exact;
    }
    .footer {
        position: fixed;
        left: 0;
        bottom: 0;
    }
    .footer .logo {
        margin-right: 50px;
    }
}
</style>
</head>
<body>
<div class="header">
    <div class="logo verticAlign">
        <div class="setplexlogo"></div>
    </div>
    <div class="contactsHeader">
        <p>sales@setplex.com<br/>
        tel.:+1-855-738-7539</p>
    </div>
</div>
<div class="main">
    <div class="invoiceData">
        <div class="innerDiv">
            <h2>INVOICE</h2>
            <table>
                <tr>
                    <td>INVOICE NUMBER</td>
                    <td>1</td>
                </tr>
                <tr>
                    <td>INVOICE DATE</td>
                    <td>17.07.2019</td>
                </tr>
                <!-- <tr>
                    <td>PAGE</td>
                    <td>1 FROM 1</td>
                </tr> -->
            </table>
        </div>
    </div>
    <div class="companyData">
        <h2>BILL TO</h2>
        <h4>IIvanov</h4>
        <p>Ivan Ivanov</p>
        <p class="gray">Ohio / Columbus</p>
        <p class="gray">926 Steensland Trail / United States of America</p>
        <p class="gray"><b>ivan.ivanov99@gmail.com</b></p>
    </div>
    <div class="tableInvoicesWrap">
        <table class="tableInvoices gray">
            <tr>
                <th>№</th>
                <th>PROCESS DATE</th>
                <td rowspan="2" class="noPadding alignTop">
                    <table class="innerTable">
                        <tr>
                            <th>SERVICE</th>
                            <th>AMOUNT</th>
                            <th>PRICE, USD</th>
                        </tr>
                        <tr>
                            <td>Nora &amp; Apps</td>
                            <td class="gorizontAlign">100 seats</td>
                            <td class="gorizontAlign">100</td>
                        </tr>
                        <tr>
                            <td>CDN Streaming</td>
                            <td class="gorizontAlign">100 seats</td>
                            <td class="gorizontAlign">250</td>
                        </tr>
                        <tr>
                            <td>VOD Storage</td>
                            <td class="gorizontAlign">150 GBs</td>
                            <td class="gorizontAlign">30</td>
                        </tr>
                        <tr>
                            <td>Catchup Channels 7D</td>
                            <td class="gorizontAlign">10 channels</td>
                            <td class="gorizontAlign">350</td>
                        </tr>
                    </table>
                </td>
                <th>TOTAL AMOUNT, USD</th>
                <th>PAYMENT TYPE</th>
                <th>TRANSACTION ID</th>
                <th>STATUS</th>
            </tr>
            <tr>
                <td class="gorizontAlign">1</td>
                <td class="gorizontAlign">17.07.2019</td>
                <td class="gorizontAlign">730</td>
                <td class="gorizontAlign">
                    Credit Card - XXXX7654
                    
                </td>
                <td class="gorizontAlign">60124519509</td>
                <td class="gorizontAlign">PAID</td>
            </tr>
            <tr>
                <td rowspan="2" colspan="5" class="noBorder">
                    <h4>COMMENTS</h4>
                    <p>1. Purpose of this invoice is <b class="lowercase">REGISTRATION</b> of services</p>
                    <p></p>
                </td>
                <td class="bold noPadding dashed"><p>SUBTOTAL</p>
                    <p>TAX RATE</p>
                    <p>TAX</p></td>
                <td class="gorizontAlign bold noPadding dashed"><p>730</p>
                    <p>0%</p>
                    <p>0</p></td>
            </tr>
            <tr>
                <th>TOTAL, USD</th>
                <th>730</th>
            </tr>
        </table>
    </div>
    <div class="haveAnyQuestions gray">
        If you have any questions about this invoice, please contact us<br/>
        tel.: +1-855-738-7539<br/>
        sales@setplex.com
    </div>
</div>
<div class="footer">
    <div class="logo verticAlign">
        <div class="setplexlogo"></div>
    </div>
    <div class="contactsWrap verticAlign">
        <div>
            <h4>ADDRESS</h4>
            <p>Setplex LLC<br/>
            231 Central Ave 4th Floor<br/>
            White Plains, NY 10606</p>
        </div>
        <div>
            <h4>CONTACTS</h4>
            <p>sales@setplex.com<br/>
            tel.: +1-855-738-7539<br/>
            fax.: +1-718-701-4407</p>
        </div>
    </div>
</div>
</body>
</html>
